<?php
$GLOBALS['Md'] = "FTK9D4D0";
$GLOBALS['Pd'] = "B";
require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
require_once($GLOBALS['PAD']."Modules/FTK9D4D0/modconf.mex"); 
MYTCONN();

	if($GLOBALS['MYT']->db_query("INSERT INTO systemoffice.hs_administrationsettings
			(ast_ID, ast_User, ast_Value, ast_Terminal) VALUES
			(1,{$_SESSION[$SESSID]},{$_POST['ast_Value']},'{$_SESSION[$SESSIP]}')")==true) {

		$GLOBALS['MYT']->db_query("UPDATE systemoffice.administration_settings 
			SET ast_Value = {$_POST['ast_Value']} WHERE ast_ID = 1");
	}